
public class Qiu extends Ti{
	private int r;
	public Qiu(int r){
		 this.r=r;
	}
	 

	public int getR() {
		return r;
	}

	public void setR(int r) {
		this.r = r;
	}
	public double B(){
		return 4*3.14*r*r;
	}
	public double V(){
		return 4*3.14*r*r*r/3;
	}

}
